<?php
/**
 * 服务配置
 */
return [
    'SERVICES'  => [
        /**
         * type: 服务类型；支持：Http/RPC/RestFul
         * name: 服务名称(ID)
         * class: 服务类
         * argv：服务参数
         */
        
        // 订单服务
        ['type'=>'rpc', 'name'=>'Order', 'class'=>'Services\Order\OrderService', 'argv'=> [
            'host'      => '192.168.1.122'
            ,'port'     => 9052
            ,'auth_token'   => base64_encode('Services\Order\OrderService')
        ]]
    ]
];